Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bl unit for high strength characters #2041

Conversation

StefanLeng
Copy link
Contributor

GGA 0.17.16 fixed issue #2039 for the Basic Lift value, but the unit is still broken. Its not displayed on the GGA sheets, but I use it in the Cathegorized Character Sheet module.

This pull request extends the fix to also fix the unit.

@mjeffw
Copy link
Collaborator

mjeffw commented Nov 29, 2024

@StefanLeng Do you want it displayed such as "2000 lb"?

@StefanLeng
Copy link
Contributor Author

Yes. I just display the strings from system.liftingmoving, which includes the unit. Works for "normal" characters, but if the BL >= 1000, this string is still broken in 0.17.16. With a basic lift off 2000, it was "2 2,000 lb" in 0.17.15 and now is "2000 2.000 lb" in 0.17.16. This pull request makes it "2000 lb".

See StefanLeng/gurps-categorized-sheet#9 for the situation under 0.17.15. Its still broken under 1.17.16, even if the leading value is now fixed.

@mjeffw mjeffw merged commit f8acd9b into crnormand:main Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants